<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>


<%--
  Created by IntelliJ IDEA.
  User: 劳寄修
  Date: 2021/3/3
  Time: 21:52
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>首页</title>
    <script type="text/javascript" rel="stylesheet" src="${pageContext.request.contextPath}/static/js/jquery-3.5.1.min.js"></script>
    <link type="text/css" href="${pageContext.request.contextPath}/static/bootstrap-3.3.7-dist/css/bootstrap.min.css" rel="stylesheet"/>
    <script type="text/javascript" src="${pageContext.request.contextPath}/static/bootstrap-3.3.7-dist/js/bootstrap.js"></script>

</head>
<body>

<c:set value="${pageContext.request.contextPath}/index.jsp" var="prefixPath" scope="page"></c:set>
<%
    String adminName =(String) session.getAttribute("adminName");
    String prefixPath = (String)pageContext.getAttribute("prefixPath");
    if (adminName==null||adminName.equalsIgnoreCase("")) response.sendRedirect(prefixPath);
%>
<c:import url="/pj/menu"  charEncoding="utf-8"></c:import>
    <h1 style="width: 400px;margin: 150px auto">欢迎使用设备管理系统</h1>
</body>
<script type="text/javascript">
    $(function () {
        $('.dropdown-toggle').dropdown();
    })
</script>
</html>
